<template>
  <div id="exchange"  class="container">
    <div class="container">
      <div class="exchangeImg">
        <img src="../assets/s03.png" alt />
      </div>
      
      <div id="points">
        <h1 >积分奖品兑换一览</h1>
        <div class="cont_text">
          <ul id="products">
              <router-view></router-view>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap/dist/js/bootstrap.min.js";
export default {
  created() {
    //获取用户信息
    this.$axios
      .get("/api/users/getUserInfo")
      .then(res => {
        this.getUserInfo = res.data.data;
        console.log("getUserInfo", this.getUserInfo);
      })
      .catch(err => {
        console.log("err:", err);
      });
  }
};
</script>
<style lang="css" scoped>
@import "../css/exchange.css";
.container{
  margin-top: 90px;
}
</style>
